﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;

namespace _3Dsoundor2Dgraphor.Graphics
{
	class Scene : Element
	{
		public List<Element> scena = new List<Element>();

		public Scene ()
		{
			scena = new List<Element>();
		}

		public override void draw(System.Drawing.Graphics output)
		{
			if (scena != null)
			{
				for (int i = 0; i < scena.Count; i++)
				{
					scena[i].draw(output);
				}
			}
		}

		public void addElement(Element add)
		{
			scena.Add(add);
		}

		public override void action(PointF point)
		{
			throw new NotImplementedException();
		}
	}
}
